# $Id: PKGBUILD 65467 2012-02-21 05:57:00Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Brad Conte <brad@bradconte.com>

pkgname=stopwatch
pkgver=3.5
pkgrel=5
pkgdesc="virtual stopwatch"
arch=(any)
license=("Public Domain")
url="http://code.google.com/p/archlinux-stuff/downloads/list"
depends=('tk')
source=("http://archlinux-stuff.googlecode.com/files/stopwatch-$pkgver.tar.gz")
md5sums=('4feb97cd7f108c89f17fcb18e55deaf9')

build() {
  mkdir -p $pkgdir/usr/bin
  cp $srcdir/$pkgname-3.4/stopwatch $pkgdir/usr/bin
  sed -e "s_/depot/path/wish_/usr/bin/wish_" -i $pkgdir/usr/bin/stopwatch
}
